#ifndef RESOURCE_ENTRY_H
#define RESOURCE_ENTRY_H

#include "stdafx.h"
#include <CString>
#include <vector>

//===============================================================
// Resource entry representation (images and sounds)
//===============================================================

struct ResourceEntry
{
	std::vector<CString> m_imagesPath;
	std::vector<CString> m_soundsPath;
	std::vector<CString> m_videosPath;
	int                  m_nbTimesShown;

	ResourceEntry() : m_nbTimesShown(0) {}

	virtual ~ResourceEntry() {}

	LPCTSTR getRandomImage();
	LPCTSTR getRandomSound();
	LPCTSTR getRandomVideo();
	bool isSoundNotAvailable();
	void clear();
};


#endif // ResourceEntry
